package com.kerbores.blog.bean;

import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;

/**
 * 相册
 * 
 * @author Kerbores
 *
 */
@Table("b_album")
public class Album extends Entity {
	/**
	 * 相册名字
	 */
	@Column("name")
	private String name;
	/**
	 * 相册描述
	 */
	@Column("description")
	private String description;
	/**
	 * 相册密码
	 */
	@Column("password")
	private String password;
	/**
	 * 创建时间
	 */
	@Column("create_time")
	private Date createTime;
	/**
	 * 照片数量
	 */
	@Column("photo_count")
	private long photoCount;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public long getPhotoCount() {
		return photoCount;
	}

	public void setPhotoCount(long photoCount) {
		this.photoCount = photoCount;
	}

}
